home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / AciusTN8-92.cpt / AciusTN8-92 / GraphicalButtonsƒ / Calculator.rsrc / 4Dte_15025 < prev    next >
Text File  |  1992-10-10  |  742b  |  11 lines

  1. This routine defines the horizontal and vertical offsets of the button's title in relation to the position calculated in the center of the button. The first two values set the X and Y offsets when the button has not been clicked, the second set of values set the X and Y offsets when the button has been clicked.
  2.  
  3. Values by default: 
  4. Offset of an unclicked buttton: -1, -1
  5. Offset of a clicked button : 0, 0
  6.  
  7. Example :
  8. bp_SET TITLE OFFSET(Area;-1;-2;3;4)
  9. The title of the button "Area" will be offset one pixel to the left, two pixels up when not clicked, three pixels toward the botton and four pixels to the right when the button has been clicked.
  10.  
  11. Written by François Marchal, © ACI 1991. Detailed description and source code in MPW Pascal.